﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace markdown_picture_packer.common.constants
{
    public class DownloadMessage
    {
        public static readonly string URL_LOCAL_DIR_OR_SAVE_NAME_CANNOT_BE_EMPTY = "URL、本地目录或保存名称不能为空";
        public static readonly string DIRECTORY_NOT_FOUND = "指定的目录不存在且无法创建";
        public static readonly string UNAUTHORIZED_ACCESS = "没有权限访问指定目录或创建文件";
        public static readonly string FILE_OPERATION_ERROR = "文件操作错误";
        public static readonly string NETWORK_ERROR = "网络错误";
        public static readonly string INVALID_URL_FORMAT = "无效的URL格式";
        public static readonly string UNSUPPORTED_URL_FORMAT = "不支持的URL格式";
        public static readonly string OPERATION_CANCELED = "操作被取消";
        public static readonly string DOWNLOAD_TIMEOUT = "下载超时，连接超时时间为6秒";
        public static readonly string UNKNOWN_ERROR = "发生未知错误";
        public static readonly string UNSUPPORTED_CONTENT_TYPE = "不支持的内容类型: ";
    }
}
